//
//  MSHotelDetailView.h
//  MSJD
//
//  Created by 箭军刘 on 2018/10/14.
//  Copyright © 2018年 xiangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

/** 酒店详情界面的跳转类型 */
typedef NS_ENUM(NSUInteger, MSHotelDetailPushType) {
    MSHotelDetailPushTypeCitySelect = 0, // 城市选择界面
    MSHotelDetailPushTypeDate, // 时间选择界面
    MSHotelDetailPushTypeSearch // 跳转到搜索界面
};

NS_ASSUME_NONNULL_BEGIN
// FIXME:
@class MSHomeHeadView;

@interface MSHotelDetailView : UIView

@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) MSHomeHeadView *headView;

/** 跳转回调  contentDic:不同类型传不同的数据 */
@property (nonatomic, copy) void (^PresentBlock)(MSHotelDetailPushType type, NSDictionary *contentDic);


- (void)refreshHotelLocalTitle;

/** 修改时间选择 */
- (void)changeDate:(NSDictionary *)date;
/** 修改搜索内容 */
- (void)changeFilterContent:(NSString *)filterContent;
/** 修改城市 */
- (void)changeCity:(NSString *)cityTitle;

/** 界面上正在展示的搜索内容 */
- (NSString *)showSearchContent;

@end

NS_ASSUME_NONNULL_END
